package cn.yunhe.view;

import java.util.HashMap;
import java.util.Map;

/**
 * @author xu yuanjun
 * @data 2019/4/1 13:45
 */
public class DemoMap {

    public static void  demo1(){
        Map<String, String> map = new HashMap<String, String>();
        map.put("key1", "value1");
        //map.remove("key1");
        map.clear();
        System.out.println(map.get("key1"));

    }


    public static void main(String[] args) {
        demo1();
    }


}
